import _thread
import time
import threading
import PikaStdLib
import _collections
import socket

def test_socket():
    addr = ("112.125.89.8", 45452)
    tcpc = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

    tcpc.connect(addr)
    data = "aaaa3432\n".encode("utf-8")
    tcpc.send(data)
    tcpc.close()

test_socket()

